package com.gzy.rpsm_property.service;

import com.gzy.rpsm_property.pojo.Building;
import com.gzy.rpsm_property.pojo.PageResult;

import java.util.List;

public interface BuildingService {
    List<Building> buildingsOfUsed();
    int insertBuilding(Building building);

    PageResult<Building> PageOfBuilding(int current, int size);
    int insertBuildings(Building building,List<Building> buildings,int size);
    int changeBuildingStatus(List<Integer> idList,Integer status);
}
